<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="${APP_PATH }/userController/toHeadIndex"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>飞机票订单</title>
<%
	pageContext.setAttribute("APP_PATH", request.getContextPath());
%>
<script type="text/javascript"
	src="${APP_PATH }/static/js/jquery.min.js"></script>
<link
	href="${APP_PATH }/static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet">
<style type="text/css">
</style>
<script
	src="${APP_PATH }/static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<script type="text/javascript">
	$(function() {

	});
</script>
</head>
<body>
	<div class="container">
		<div class="table-responsive">
			<table class="table table-hover">
				<thead>
					<tr style="color: blue;">
						<th>订单编号</th>
						<th>订单状态</th>
						<th>订单金额</th>
						<th>创建时间</th>
						<th>支付状态</th>
						<th>仓位信息</th>
						<th>乘机人</th>
						<th>联系手机</th>
						<th>审批人</th>
					</tr>
				</thead>
				<tbody id="planeBody">
					<c:forEach items="${planeOrderList }" var="planeOrder">
						<tr id="planeTr">
							<td><a href="javascript:void(0);" style="text-decoration: none;">${planeOrder.orderId }</a><input name="orderId" type="hidden" value=""></td>
							<td name="orderStatus">
								<c:if test="${planeOrder.orderStatus == 0}">
									<label style="color: #FFD700;">待审核</label>
								</c:if>
								<c:if test="${planeOrder.orderStatus == 1}">
									<label style="color: green;">审核通过</label>
								</c:if>
								<c:if test="${planeOrder.orderStatus == 2}">
									<label style="color: red;">审核失败</label>
								</c:if>
								<c:if test="${planeOrder.orderStatus == 3}">
									<label style="color: blue;">已出票</label>
								</c:if>
								
							</td>
							
							<td name="orderPrice">${planeOrder.orderPrice }</td>
							<td name="createOrderDate">2018-09-10</td>
							<td name="payType">
								<c:if test="${planeOrder.payType == 0}">
									<label style="color: red;">未支付</label>
								</c:if>
								<c:if test="${planeOrder.payType == 1}">
									<label style="color: green;">已支付</label>
								</c:if>
							</td>
							<td name="aircraftName">${planeOrder.aircraftName }</td>
							<td name="userName">${planeOrder.userName }</td>
							<td name="linkPhone">${planeOrder.linkPhone }</td>
							<td name="operaPersonName">${planeOrder.operaPersonName}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>



	</div>


</body>
</html>